import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNextInt()) {
            int x = sc.nextInt();
            for (int i = 0; i < x; i++) {
                for (int k = 0; k < x; k++) {
                    if (k == i || k + i == x - 1) {
                        System.out.printf("*");
                    } else {
                        System.out.printf(" ");
                    }
                }
                System.out.println();
            }
        }
        sc.close();
    }

}
